<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>Document</title>
    <script src="../js/task1.js"></script>
    <script>
        alert('欢迎你')
    </script>

</head>
<body>
    <a href="javascript:alert('欢迎你')">点我</a>
    
</body>
</html>